package com.itdaan.portal.common.exception;
/**
 * @author www.itdaan.com
 */
public class DataAccessException extends org.springframework.dao.DataAccessException {
	/**
	 * serialVersionUID
	 */
	private static final long serialVersionUID = 1L;

	/**
	 * 构造.
	 * 
	 * @param msg 错误信息.
	 */
	public DataAccessException(String msg) {
		super(msg);
	}

	/**
	 * 构造.
	 * 
	 * @param msg 错误信息
	 * @param t 前一异常
	 */
	public DataAccessException(String msg, Throwable t) {
		super(msg, t);
		this.setStackTrace(t.getStackTrace());
	}
}
